﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataAchive.Model
{

    [Table("site")]
    public class M_AChiveSite
    {

        private long? _id;
        [Key]
        [Column("id")]
        public long? Id { get { return _id; } set { _id = value; } }

        private string _line_id;
        [Column("line_id")]
        public string Line_Id { get { return _line_id; } set { _line_id = value; } }

        private string _equipment_id;
        [Column("equipment_id")]
        public string Equipment_Id { get { return _equipment_id; } set { _equipment_id = value; } }

        private string _ip;
        [Column("ip")]
        public string IP { get { return _ip; } set { _ip = value; } }

        private int? _row_number;
        [Column("row_number")]
        public int? Row_Number { get { return _row_number; } set { _row_number = value; } }

        private int? _row_type;
        [Column("row_type")]
        public int? Row_Type { get { return _row_type; } set { _row_type = value; } }

        private string _row_order;
        [Column("row_order")]
        public string Row_Order { get { return _row_order; } set { _row_order = value; } }

        private int? _column_number;
        [Column("column_number")]
        public int? Colum_Number { get { return _column_number; } set { _column_number = value; } }


        private int? _column_type;
        [Column("column_type")]
        public int? Colum_Type { get { return _column_type; } set { _column_type = value; } }

        private string _column_order;
        [Column("column_order")]
        public string Colum_Order { get { return _column_order; } set { _column_order = value; } }

        private int? _top_bottom_margin;
        [Column("top_bottom_margin")]
        public int? Top_Bottom_Margin { get { return _top_bottom_margin; } set { _top_bottom_margin = value; } }

        private int? left_right_margin;
        [Column("left_right_margin")]
        public int? Left_Right_Margin { get { return left_right_margin; } set { left_right_margin = value; } }

        private string shift_start_time;
        [Column("shift_start_time")]
        public string Shift_Start_Time { get { return shift_start_time; } set { shift_start_time = value; } }

        private int? _shiftings;
        [Column("shiftings")]
        public int? Shiftings { get { return _shiftings; } set { _shiftings = value; } }

        private int? _cuttentshift;
        [Column("currentshift")]
        public int? Cuttent_Shift { get { return _cuttentshift; } set { _cuttentshift = value; } }

    }
}
